const express = require('express')
const app = express();
const cookieParser = require('cookie-parser')
app.use(cookieParser());
app.use(express.urlencoded({extended:false}))
app.use(express.json())

app.use('/',require('./router/index.js'))

app.listen(4040,() => {
    console.log('服务器跑起来啦');
})